trigger OpportunityTrigger on Opportunity (before update, after insert,after update , before insert) 
{
	new Triggers()
	// .bind(Triggers.Evt.beforeupdate, new OpportunityHandler())
	.bind(Triggers.Evt.afterupdate, new OppStageChangeCheckNote())
	//.bind(Triggers.Evt.beforeupdate, new PrivorWinRatioHandler())
	
	//.bind(Triggers.Evt.afterinsert, new OpportunityHandler())
	//.bind(Triggers.Evt.afterupdate, new OpportunityHandler())
	.bind(Triggers.Evt.beforeupdate, new SetUserAfterTimeOutOfOppHandler())
	.manage();

	if(trigger.isBefore && trigger.isUpdate )OpportunityHandler.updateStageTime(trigger.new,trigger.oldMap);

}